package com.medata.repository;

import com.medata.dataObject.History;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

public interface HistoryRepository extends JpaRepository<History,String> {
    Page<History> findByUserName(String username,Pageable pageable);
}
